﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.Services;
using System.Web.Script.Services;
using SistemaCruzAzul.Negocio;
using System.Data;

namespace SistemaCruzAzul.Web.Administrador
{
    public partial class WebForm1 : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

       
        protected void txtBuscar_TextChanged(object sender, EventArgs e)
        {

        }

        protected void Button1_Click(object sender, EventArgs e)
        {

        }

        protected void Button1_Click1(object sender, EventArgs e)
        {
            Clientes ObjetoCliente = new Clientes();

            int id = ObjetoCliente.IngresoCliente(txtBuscar.Text, txtBuscar0.Text, txtBuscar1.Text, DropDownList1.Text, DropDownList2.Text);
            Label1.Text = "Registro Guardado Exitosamente";
            txtBuscar.Text = "";
            txtBuscar0.Text = "";
            txtBuscar1.Text = "";
            DropDownList1.ClearSelection();
            DropDownList2.ClearSelection();
        }

 
    }
}